<%@ page import="com.ly.oa.bean.Dept" %>
<%@page contentType="text/html;charset=UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>修改页面</title>
	</head>
	<body>
		<h1 align="center">修改部门信息</h1>
		<hr>
		<form action="<%=request.getContextPath()%>/dept/edit" align="center" method="post">
			<%
				Dept dept = (Dept)request.getAttribute("dept");
			%>
			部门编号<input type="text" name="deptno" value="<%=dept.getDeptno()%>" readonly/><br>
			部门名称<input type="text" name="dname" value="<%=dept.getDname()%>"/><br>
			部门位置<input type="text" name="loc" value="<%=dept.getLoc()%>"/><br>
			<input type="submit" value="修改"/><br>
		</form>
	</body>
</html>